From d297ff329f2e0303930ce25e73dd34edde8a9f2c Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 13 Oct 2005 07:21:00 +0000 Subject: [PATCH] Don't treat Alt-Enter specially. It does not have any special meaning and 2005-10-13 Tor Lillqvist * gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't treat Alt-Enter specially. It does not have any special meaning and should be passed on to the application. (#318378, Tim Evans) --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ gdk/win32/gdkevents-win32.c | 5 ++--- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5eaa44f32a..62b242a332 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-10-13 Tor Lillqvist + + * gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't treat + Alt-Enter specially. It does not have any special meaning and + should be passed on to the application. (#318378, Tim Evans) + 2005-10-13 Tor Lillqvist Set visual depth to 24 for 32 bits-per-pixel devices on diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 5eaa44f32a..62b242a332 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2005-10-13 Tor Lillqvist + + * gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't treat + Alt-Enter specially. It does not have any special meaning and + should be passed on to the application. (#318378, Tim Evans) + 2005-10-13 Tor Lillqvist Set visual depth to 24 for 32 bits-per-pixel devices on diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c index 89dc4c8576..58777b7a0f 100644 --- a/gdk/win32/gdkevents-win32.c +++ b/gdk/win32/gdkevents-win32.c @@ -2421,13 +2421,12 @@ gdk_event_translate (MSG *msg, !(HIWORD (msg->lParam) & KF_ALTDOWN)) break; - /* Let the system handle Alt-Tab, Alt-Space, Alt-Enter and - * Alt-F4 unless the keyboard is grabbed. + /* Let the system handle Alt-Tab, Alt-Space and Alt-F4 unless + * the keyboard is grabbed. */ if (k_grab_window == NULL && (msg->wParam == VK_TAB || msg->wParam == VK_SPACE || - msg->wParam == VK_RETURN || msg->wParam == VK_F4)) break; -- 2.30.2